package com.hmall.client;

import com.hmall.domain.po.Order;
import org.springframework.cloud.openfeign.FeignClient;


import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "trade-service",path = "/orders")
public interface OrderClient {

    @PutMapping("/{orderId}")
    void markOrderPaySuccess(@PathVariable("orderId") Long orderId);
}
